<?php
/**
 * @author Zwc
 * Created On 2022/5/27 20:57
 */

namespace app\auth\controller;


use app\auth\service\AdminUserService;
use app\auth\service\OperateLogService;
use app\common\controller\AdminBaseController;
use think\App;

class OperateLog extends AdminBaseController
{
	protected $service;

	public function __construct(App $app)
	{
		parent::__construct($app);
		$this->service = new OperateLogService();
	}

	/**
	 * @throws \think\db\exception\ModelNotFoundException
	 * @throws \think\db\exception\DataNotFoundException
	 * @throws \think\db\exception\DbException
	 */
	public function index()
	{
		$adminService = new AdminUserService();
		return view('index',[
			'adminList' => $adminService->getUser()
		]);
	}
}